package org.ellwood.core.common.service;

/**
 * @ProjectName: ellwood-boot-pro
 * @PackageName: org.ellwood.core.common
 * @ClassName: ConfService
 * @Description: // 系统配置获取
 * @Author: Ellwood
 * @CreateDate: 2024/6/14 - 下午4:51
 * @Version: V1.0.0
 */
public interface ConfService {

    /**
     * 验证配置是否存在
     * @param key key
     * @return 返回 true|false
     */
    boolean hasConfKey(String key);

    /**
     * 根据配置key获取value
     * @param key key
     * @return 返回 value
     */
    String getConfValue(String key);

}
